package cc.abanlee.framework.mybatis.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import javax.validation.constraints.NotEmpty;

/**
 * @author: create by
 * @version: v1.0
 * @description:
 * @date:2022/8/25
 */
@ConfigurationProperties("li.mybatis")
@Data
public class LiMybatisProperties {

    @NotEmpty(message = "是否打印sql不能为空")
    private boolean printSql=false;
}
